const HCommonUtils = require('han-egg-utils');
const ModuleUtils = HCommonUtils.loadDir('/app/route/detail');

exports.route = function(app) {
    Object.keys(ModuleUtils).map(function(item, indx) { //动态注册aos目录路由
        ModuleUtils[item].route(app)
    })

};